package net.myonlycdw.controller;

import net.myonlycdw.service.UserAdd;
import net.myonlycdw.service.Userinsert;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created by Chen-D.W on 2017/6/10.
 */
@Controller
public class Controllers {
    @Autowired
    private UserAdd userAdd;

    public void setUserAdd(UserAdd userAdd) {
        this.userAdd = userAdd;
    }

    public void setUserinsert(Userinsert userinsert) {
        this.userinsert = userinsert;
    }

    @Autowired

    private Userinsert userinsert;

    public Userinsert getUserinsert() {
        return userinsert;
    }

    public UserAdd getUserAdd() {
        return userAdd;
    }

}
